Adaptive Switch Driving

ABSTRACT

An apparatus is disclosed for adaptive switch driving. In an example aspect, the apparatus includes a switching circuit configured to selectively be in a first state that provides an input voltage as an output voltage, be in a second state that provides a ground voltage as the output voltage, or be in a third state that causes the output voltage to change from the input voltage to the ground voltage according to a slew rate. The third state enables the switching circuit to transition from the first state to the second state. The switching circuit is also configured to adjust the slew rate of the output voltage for the third state responsive to at least one of the following: a change in a magnitude of a direct-current supply voltage or a change in a magnitude of an input current.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application claims the benefit of U.S. Provisional Application No.63/027,291, filed 19 May 2020, the disclosure of which is herebyincorporated by reference in its entirety herein.

TECHNICAL FIELD

This disclosure relates generally to switch-mode power supplies and,more specifically, to driving a switch of a switch-mode power supply.

BACKGROUND

A switch-mode power supply (SMPS) uses switches to transfer powerbetween a power source and a load. Large input currents or large DCsupply voltages can stress the switch-mode power supply duringoperation. In some cases, this stress can lead to switch degradation andpremature failure of the power supply.

SUMMARY

An apparatus is disclosed that implements adaptive switch driving. Inparticular, the apparatus includes a switching circuit with at least oneswitch that interrupts the flow of an input current. The switchingcircuit also includes a driver circuit and a driver controller. Thedriver circuit provides a driver current to charge or discharge anintrinsic capacitor of the switch and control a transition period of theswitch. The driver controller indirectly or directly monitors one ormore parameters that affect a voltage at a terminal of the switch. Theseparameters can include an input current and/or a direct-current (DC)supply voltage. The driver controller adjusts the magnitude of thedriver current responsive to detecting a change in one or more of theseparameters.

For example, if one or more of these parameters decreases, a likelihoodof the peak voltage exceeding a breakdown voltage of the switchdecreases. Therefore, the driver controller can increase the drivercurrent to decrease the transition period of the switch and improveefficiency. Alternatively, if one or more of these parameters increases,there is a higher likelihood that the peak voltage can exceed thebreakdown voltage of the switch. In response, the driver circuit canincrease the transition period of the switch to reduce the peak voltageand improve reliability. In these ways, the driver circuit can readilyadapt to balance reliability and efficiency in various situations.

In an example aspect, an apparatus is disclosed. The apparatus includesa switching circuit including an input and an output. The input isconfigured to accept an input voltage and an input current. The inputvoltage includes a direct-current supply voltage. The output isconfigured to provide an output voltage. The switching circuit isconfigured to selectively be in a first state that provides the inputvoltage as the output voltage, be in a second state that provides aground voltage as the output voltage, or be in a third state that causesthe output voltage to change from the input voltage to the groundvoltage according to a slew rate. The third state enables the switchingcircuit to transition from the first state to the second state. Theswitching circuit is also configured to adjust the slew rate of theoutput voltage for the third state responsive to at least one of thefollowing: a change in a magnitude of the direct-current supply voltageor a change in a magnitude of the input current.

In an example aspect, an apparatus is disclosed. The apparatus includesswitch-mode means for transferring power between a power source and aload. The switch-mode means includes switching means for selectivelyoperating in a closed state to connect the power source to the load oran open state to disconnect the power source from the load. Theswitch-mode means also includes driver means for controlling atransition period associated with the switching means transitioning fromthe closed state to the open state. The switch-mode means additionallyincludes monitor means for detecting a change in a magnitude of an inputcurrent or a change in a magnitude of a direct-current supply voltageprovided by the power source. The switch-mode means further includescontrol means for adjusting the transition period responsive to themonitor means detecting the change in the magnitude of the input currentor the change in the magnitude of the direct-current supply voltage.

In an example aspect, a method for adaptive switch driving is disclosed.The method includes accepting an input voltage and an input current atan input of a switching circuit. The input voltage includes adirect-current supply voltage. The method also includes operating theswitching circuit in a first state to provide the input voltage as anoutput voltage at an output of the switching circuit. The methodadditionally includes operating the switching circuit in a second stateto provide a ground voltage as the output voltage at the output. Themethod further includes operating the switching circuit in a third stateto transition from the first state to the second state. The third statecauses the output voltage to change from the input voltage to the groundvoltage according to a slew rate. The method also includes adjusting theslew rate of the output voltage responsive to at least one of thefollowing: a change in a magnitude of the direct-current supply voltageor a change in a magnitude of the input current.

In an example aspect, an apparatus is disclosed. The apparatus includesa switching circuit with an input, at least one switch, at least onedriver circuit, and at least one driver controller. The input isconfigured to accept an input voltage. The at least one switch iscoupled between the input and an output of the switching circuit. The atleast one switch is configured to selectively be in a closed state toconnect the input to the output or be in an open state to disconnect theinput from the output. The at least one driver circuit is coupled to theat least one switch. The at least one driver circuit is configured toprovide a driver current to enable the at least one switch to transitionfrom the closed state to the open state. The at least one drivercontroller is coupled to the at least one driver circuit and configuredto monitor at least one parameter associated with the input voltage. Theat least one driver controller is also configured to detect a change inthe at least one parameter and adjust a magnitude of the driver currentprovided by the at least one driver circuit based on the detected changein the at least one parameter.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 illustrates an example operating environment for adaptive switchdriving.

FIG. 2 illustrates an example switch-mode power supply, an example powersource, and an example load for adaptive switch driving.

FIG. 3-1 illustrates an example switching circuit for adaptive switchdriving.

FIG. 3-2 illustrates example states of a switching circuit for adaptiveswitch driving.

FIG. 3-3 illustrates changes in an output voltage of a switching circuitfor different modes associated with adaptive switch driving.

FIG. 3-4 illustrates another example state of a switching circuit foradaptive switch driving.

FIG. 4 illustrates an example driver controller for adaptive switchdriving.

FIG. 5-1 illustrates a first example implementation of a drivercontroller for adaptive switch driving.

FIG. 5-2 illustrates a second example implementation of a drivercontroller for adaptive switch driving.

FIG. 5-3 illustrates a third example implementation of a drivercontroller for adaptive switch driving.

FIG. 5-4 illustrates a fourth example implementation of a drivercontroller for adaptive switch driving.

FIG. 6 illustrates a flow diagram illustrating an example process foradaptive switch driving.

DETAILED DESCRIPTION

A switch-mode power supply uses switches to transfer power between apower source and a load. At least one of the switches within theswitch-mode power supply can control the flow of current from the powersource to the load. Parasitic and non-parasitic inductors within theswitch-mode power supply and package, however, resist the change incurrent flow. Consequently, these inductors can cause voltage ringing atone or more terminals of the switch in response to the switch opening tointerrupt the flow of current. In some situations, a peak voltage causedby the voltage ringing can exceed a breakdown voltage of the switch.Left unchecked, the reliability of the switch can degrade over time dueto this peak voltage.

This problem can be exacerbated in some operating conditions orimplementations. For example, larger currents or larger direct-currentsupply voltages supplied by the power source can increase the peakvoltage observed by the switch. As another example, some types ofinterconnections and packaging can increase the amount of parasiticinductance seen by the switch, which can increase the peak voltagecaused by the voltage ringing.

To reduce the peak voltage, some techniques add a capacitor or a clampcircuit at the input node of the switch-mode power supply to dampen thevoltage ringing. Other techniques can apply routing orprinted-circuit-board (PCB) layout constraints to reduce the parasiticinductance seen by the switch and therefore decrease the peak voltage.Still other techniques can sacrifice efficiency for reliability bypermanently operating the switch with a longer switching period todecrease the peak voltage.

In contrast, techniques for adaptive switch driving are describedherein. An apparatus includes a switching circuit with at least oneswitch that interrupts the flow of an input current. The switchingcircuit also includes a driver circuit and a driver controller. Thedriver circuit provides a driver current to charge or discharge anintrinsic capacitor of the switch and control a transition period of theswitch. The driver controller indirectly or directly monitors one ormore parameters that affect a voltage at a terminal of the switch. Theseparameters can include an input current and/or a direct-current (DC)supply voltage. The driver controller adjusts the magnitude of thedriver current responsive to detecting a change in one or more of theseparameters.

For example, if one or more of these parameters decreases, a likelihoodof the peak voltage exceeding a breakdown voltage of the switchdecreases. Therefore, the driver controller can increase the drivercurrent to decrease the transition period of the switch and improveefficiency. Alternatively, if one or more of these parameters increases,there is a higher likelihood that the peak voltage can exceed thebreakdown voltage of the switch. In response, the driver circuit canincrease the transition period of the switch to reduce the peak voltageand improve reliability. In these ways, the driver circuit can readilyadapt to balance reliability and efficiency in various situations.

FIG. 1 illustrates an example environment 100 for adaptive switchdriving. In the environment 100, a computing device 102 communicateswith a base station 104 through a wireless communication link 106(wireless link 106). In this example, the computing device 102 isdepicted as a smartphone. However, the computing device 102 can beimplemented as any suitable computing or electronic device, such as amodem, a cellular base station, a broadband router, an access point, acellular phone, a gaming device, a navigation device, a media device, alaptop computer, a desktop computer, a tablet computer, a wearablecomputer, a server, a network-attached storage (NAS) device, a smartappliance or other internet of things (IoT) device, a medical device, avehicle-based communication system, a radar, a radio apparatus, and soforth.

The base station 104 communicates with the computing device 102 via thewireless link 106, which can be implemented as any suitable type ofwireless link. Although depicted as a tower of a cellular network, thebase station 104 can represent or be implemented as another device, suchas a satellite, a server device, a terrestrial television broadcasttower, an access point, a peer-to-peer device, a mesh network node, afiber optic line, and so forth. Therefore, the computing device 102 maycommunicate with the base station 104 or another device via a wiredconnection, a wireless connection, or a combination thereof.

The wireless link 106 can include a downlink of data or controlinformation communicated from the base station 104 to the computingdevice 102, an uplink of other data or control information communicatedfrom the computing device 102 to the base station 104, or both adownlink and an uplink. The wireless link 106 can be implemented usingany suitable communication protocol or standard, such as 2nd-generation(2G), 3rd-generation (3G), 4th-generation (4G), or 5th-generation (5G)cellular; IEEE 802.11 (e.g., Wi-Fi™); IEEE 802.15 (e.g., Bluetooth™);IEEE 802.16 (e.g., WiMAX™); and so forth. In some implementations, thewireless link 106 may wirelessly provide power and the base station 104may comprise a power source.

As shown, the computing device 102 includes an application processor 108and a computer-readable storage medium 110 (CRM 110). The applicationprocessor 108 can include any type of processor, such as a multi-coreprocessor, that executes processor-executable code stored by the CRM110. The CRM 110 can include any suitable type of data storage media,such as volatile memory (e.g., random access memory (RAM)), non-volatilememory (e.g., Flash memory), optical media, magnetic media (e.g., disk),and so forth. In the context of this disclosure, the CRM 110 isimplemented to store instructions 112, data 114, and other informationof the computing device 102, and thus does not include transitorypropagating signals or carrier waves.

The computing device 102 can also include input/output ports 116 (I/Oports 116) and a display 118. The I/O ports 116 enable data exchanges orinteraction with other devices, networks, or users. The I/O ports 116can include serial ports (e.g., universal serial bus (USB) ports),parallel ports, audio ports, infrared (IR) ports, user interface portssuch as a touchscreen, and so forth. The display 118 presents graphicsof the computing device 102, such as a user interface associated with anoperating system, program, or application. Alternatively oradditionally, the display 118 can be implemented as a display port orvirtual interface, through which graphical content of the computingdevice 102 is presented.

A wireless transceiver 120 of the computing device 102 providesconnectivity to respective networks and other electronic devicesconnected therewith. Alternatively or additionally, the computing device102 can include a wired transceiver, such as an Ethernet or fiber opticinterface for communicating over a local network, intranet, or theInternet. The wireless transceiver 120 can facilitate communication overany suitable type of wireless network, such as a wireless local areanetwork (WLAN), peer-to-peer (P2P) network, mesh network, cellularnetwork, wireless wide-area-network (WWAN), and/or wirelesspersonal-area-network (WPAN). In the context of the example environment100, the wireless transceiver 120 enables the computing device 102 tocommunicate with the base station 104 and networks connected therewith.However, the wireless transceiver 120 can also enable the computingdevice 102 to communicate “directly” with other devices or networks.

The wireless transceiver 120 includes circuitry and logic fortransmitting and receiving communication signals via an antenna 122.Components of the wireless transceiver 120 can include amplifiers,switches, mixers, analog-to-digital converters, filters, and so forthfor conditioning the communication signals (e.g., for generating orprocessing signals). The wireless transceiver 120 can also include logicto perform in-phase/quadrature (I/Q) operations, such as synthesis,encoding, modulation, decoding, demodulation, and so forth. In somecases, components of the wireless transceiver 120 are implemented asseparate transmitter and receiver entities. Additionally oralternatively, the wireless transceiver 120 can be realized usingmultiple or different sections to implement respective transmitting andreceiving operations (e.g., separate transmit and receive chains). Ingeneral, the wireless transceiver 120 processes data and/or signalsassociated with communicating data of the computing device 102 over theantenna 122.

The computing device 102 also includes at least one power source 124, atleast one load 126, and at least one power transfer circuit 128. Thepower source 124 can represent a variety of different types of powersources, including a wired power source, a solar charger, a portablecharging station, a wireless charger, a battery, and so forth. Ingeneral, the power source 124 can be an internal power source that isinternal to the computing device 102 or an external power source that isexternal from the computing device 102. Depending on the type ofcomputing device 102, the battery may comprise a lithium-ion battery, alithium polymer battery, a nickel-metal hydride battery, anickel-cadmium battery, a lead acid battery, and so forth. In somecases, the battery can include multiple batteries, such as a mainbattery and a supplemental battery, and/or multiple battery cellcombinations.

The power transfer circuit 128 transfers power from the power source 124to one or more loads 126 of the computing device 102. Generally, thepower level provided via the power transfer circuit 128 and the powersource 124 is at a level sufficient to power the one or more loads 126.For example, the power level may be on the order of milliwatts (mW) forpowering loads associated with a smartphone, or on the order of watts tokilowatts (kW) for powering loads associated with an electric vehicle.Example types of loads include a variable load, a load associated with acomponent of the computing device 102 (e.g., the application processor108, an amplifier within the wireless transceiver 120, the display 118,a battery, or a power converter), a load that is external from thecomputing device 102 (e.g., another battery), and so forth. The powertransfer circuit 128 can be a stand-alone component or integrated withinanother component, such as a power management integrated circuit (PMIC)(not shown).

The power transfer circuit 128 includes at least one switch-mode powersupply 130, which can be implemented as a buck power converter, abuck-boost power converter, and so forth. The switch-mode power supply130 includes at least one switching circuit 132 to enable DC-to-DC powerconversion. The switching circuit 132 includes at least one switch 134,at least one driver circuit 136, and at least one driver controller 138.In addition to the switching circuit 132, the switch-mode power supply130 can include other energy storage components, including at least oneinductor or at least one capacitor.

The switch 134 can interrupt an input current that is provided from thepower source 124 to the switch-mode power supply 130 by transitioningfrom a closed state to an open state. The switch 134 can be implementedusing a transistor, such as a metal-oxide-semiconductor field-effecttransistor (MOSFET) (e.g., n-type MOSFET or p-type MOSFET), a junctionfield-effect transistor (JFET), a bipolar junction transistor (BJT), aninsulated gate bipolar transistor (IGBT), and so forth. The switch 134includes an intrinsic capacitor, which prevents the switch 134 frominstantaneously switching between the closed state and the open state.In particular, the intrinsic capacitor, such as a gate capacitorassociated with a MOSFET, resists a change in voltage at a gate terminalof the switch 134.

The driver circuit 136 is coupled to the switch 134 and enables theswitch 134 to transition between the closed state and the open state. Inparticular, the driver circuit 136 provides a driver current to assistwith charging or discharging the intrinsic capacitor of the switch 134.The rate at which the switch 134 transitions between states is dependentupon the rate at which the intrinsic capacitor is charged or dischargedby the driver current. As such, increasing the driver current increasesthe transition rate (e.g., decreases the transition period of the switch134), and decreasing the driver current decreases the transition rate(e.g., increases the transition period of the switch 134).

The driver controller 138 is coupled to the driver circuit 136 and canat least partially implement adaptive switch driving. The drivercontroller 138 indirectly or directly monitors one or more parametersthat can affect a voltage at a terminal of the switch 134 and adjuststhe magnitude of the driver current based on these parameters. Inparticular, the driver controller 138 adapts the driver current andtherefore the switch 134's transition rate to balance reliability withefficiency. For example, the driver controller can increase thetransition rate to improve efficiency of the switch 134 or decrease thetransition rate to reduce a peak voltage at the terminal of the switchand protect the switch 134 from voltage ringing. Through adaptive switchdriving, the switching circuit 132 is able to appropriately configureitself to enhance a balancing of reliability versus efficiency indifferent operating conditions.

In some implementations, the switching circuit 132 is implemented withinan integrated circuit. In the depicted configuration, the switchingcircuit 132 is integrated within the switch-mode power supply 130. Inother implementations, the switching circuit 132 (or a portion of theswitching circuitry 132 such as the driver controller 138) can beexternal to the switch-mode power supply 130. For example, the drivercontroller 138 can be implemented by the PMIC, the application processor108, a main processor, a secondary processor, or a low-power digitalsignal processor (DSP) of the computing device 102.

Although not shown, the power transfer circuit 128 can include othertypes of control circuitry (not shown) that controls operation of theswitch-mode power supply 130. For example, this control circuitry canmonitor operation of the switch-mode power supply 130 and control thepulse-width modulation of the switching circuit 132. An exampleswitch-mode power supply 130 is further described with respect to FIG.2.

FIG. 2 illustrates an example switch-mode power supply 130, an examplepower source 124, and an example load 126 for adaptive switch driving.The switch-mode power supply 130 is coupled between the power source 124and the load 126. In the depicted configuration, the switch-mode powersupply 130 is implemented as a buck converter, and includes theswitching circuit 132, at least one inductor 202, and at least onecapacitor 204.

The switching circuit 132 includes an input (e.g., an input node 206),an output (e.g., an output node 208), and a ground node 210. The inputnode 206 is coupled to the power source 124 and accepts both an inputvoltage (V_(in)) 212 and an input current (I_(in)) 214 from the powersource 124. The output node 208 is coupled to the inductor 202 andprovides an output voltage (V_(out)) 216 and an output current (I_(out))218. The ground node 210 is coupled to a ground 220 and accepts a groundvoltage 222 (e.g., a reference voltage associated with the ground 220).The inductor 202 is coupled between the output node 208 and the load126. The capacitor 204 is coupled between the load and the ground 220(e.g., the ground node 210).

The switch-mode power supply 130 is implemented on a package or printedcircuit board (PCB). Parasitic inductances resulting frominterconnections (e.g., routing) and layout of the package or printedcircuit board are seen by the switching circuit 132. These parasiticinductances are represented by a first parasitic inductor 224-1, whichexists between a power node 226 associated with the power source 124 andthe input node 206, and a second parasitic inductor 224-2, which existsbetween the ground node 210 and the ground 220. As an example,inductances of the parasitic inductances 224-1 and 224-2 can each be onthe order of 1 or 2 nanohenries (nH).

The parasitic inductors 224-1 and 224-2 and the inductor 202 opposechanges in current. If the current changes through any of the inductors224-1, 224-2, or 202, an opposing voltage is induced within the affectedinductor, which prevents the current from changing instantaneously. Theinduced voltage is proportional to the rate at which the current changesand the inductance (e.g., self-inductance) of the inductor, as shown byEquation 1 below:

$\begin{matrix}{V = {L\frac{di}{dt}}} & {{Equation}\mspace{20mu} 1}\end{matrix}$

where V represents the inducted voltage in volts, L represents theinductance of the inductor in henries, and di/dt represents the rate ofchange of the current in amperes per second. A polarity of the inducedvoltage opposes the change in the current.

During operation, the switching circuit 132 selectively passes the inputcurrent 214 from the input node 206 to the output node 208 or interrupts(e.g., prevents or stops) the flow of the input current 214 from theinput node 206 to the output node 208. For example, in a first state,the switching circuit 132 connects the input node 206 to the output node208 and disconnects the ground node 210 from the output node 208. Assuch, the switching circuit 132 provides the input voltage 212 as theoutput voltage 216 and provides the input current 214 as the outputcurrent 218 to charge the inductor 202. The output current 218 enablesthe inductor 202 to increase the amount of energy stored by its magneticfield.

In a second state, the switching circuit 132 disconnects the input node206 from the output node 208 and connects the ground node 210 to theoutput node 208. This effectively disconnects the power source 124 fromthe load 126. The switching circuit 132 provides the ground voltage 222as the output voltage 216 and the inductor 202 operates as a currentsource to provide the output current 218 to the load 126. The outputcurrent 218 generated by the inductor 202 discharges the inductor (e.g.,decreases the amount of energy stored by the magnetic field).

Due to intrinsic capacitors, the switching circuit 132 is unable toinstantaneously transition between the first state and the second state.As such, the switching circuit 132 can be in a third state (e.g., atransition state) while transitioning from the first state to the secondstate. A duration of time that the switching circuit 132 operates in thethird state is referred to as a transition period.

In the third state, the switching circuit 132 decreases the flow of theinput current 214 from the input node 206 to the output node 208 andincreases the flow of a current from the ground node 210 to the outputnode 208. This causes the parasitic inductor 224-1 to resist the changeto the input current 214, the inductor 202 to resist the change to theoutput current 218, and the parasitic inductor 224-2 to resist thechange in current from the ground 220 to the ground node 210. Thisopposition causes voltage ringing to occur at the input node 206, theoutput node 208, and the ground node 210. In some cases, the voltageringing can have a peak voltage that reduces reliability of theswitching circuit 132 and damages one or more switches 134 within theswitching circuit 132.

Consider the input voltage 212 at the input node 206. While theswitching circuit 132 operates in the third state, the voltage ringingcaused by the parasitic inductor 224-1 can affect a peak of the inputvoltage 212, as represented by Equation 2 below:

$\begin{matrix}{V_{in\_ peak} = {{L\frac{di}{dt}} + V_{DC}}} & {{Equation}\mspace{20mu} 2}\end{matrix}$

wherein V_(in_peak) represents a peak of the input voltage 212, Lrepresents the inductance of the parasitic inductor 224-1, di representsthe change in the input current 214 due to the switching circuit 132interrupting the flow of the input current 214, dt represents thetransition period of the switching circuit 132, and V_(DC) represents adirect current (DC) supply voltage 228 provided by the power source 124at the power node 226. In some cases, the peak of the input voltage 212can be approximately twice the DC supply voltage 228. In general, theinductance L is a fixed value. In some situations, the input current 214and the DC supply voltage 228 can vary depending on the type of powersource 124 that is connected to the switch-mode power supply 130. As anexample, the input current 214 can vary between two and four amperes andthe DC supply voltage 228 can be greater than or equal to 4.5 volts,such as 5.25 volts. In some cases, the peak of the input voltage 212 canbe between approximately 8 and 10 volts while a breakdown voltage of theswitch 134 within the switching circuit 132 can be between approximately9 and 10 V.

The switching circuit 132, however, can dynamically adjust thetransition period (dt) based on the input current 214 and/or the DCsupply voltage 228 to control the peak of the input voltage 212 duringthe third state. For example, the switching circuit 132 can decrease thetransition period at the expense of increasing the peak of the inputvoltage 212 to improve efficiency in situations in which the peak of theinput voltage 212 is not likely to be significantly large to damage theswitching circuit 132. Alternatively, the switching circuit 132 canincrease the transition period to decrease the peak of the input voltage212 to improve reliability in situations in which the peak of the inputvoltage 212 would otherwise exceed a breakdown voltage associated withthe switch 134. In this manner, the switching circuit 132 can adapt thetransition period in real-time to manage reliability and efficiency.

The adjustment to the transition period of the switching circuit 132 canbe observed at the output node 208. In particular, a slew rate of theoutput voltage 216 is dependent upon the transition period of theswitching circuit 132. In this manner, the slew rate of the outputvoltage 216 changes in response to a change in the transition period.For example, increasing the transition period decreases the slew rate.Alternatively, decreasing the transition period increases the slew rate.The slew rate characterizes the rate at which the output voltage 216changes from the input voltage 212 to the ground voltage 222 as theswitching circuit 132 transitions from the first state to the secondstate (e.g., operates in the third state) during the transition period.In other words, the slew rate represents an amount of change in theoutput voltage 216 per unit of time.

The switching circuit 132 can also be in a fourth state (e.g., anothertransition state) while transitioning from the second state to the firststate. In the fourth state, the switching circuit 132 increases the flowof the input current 214 from the input node 206 to the output node 208and decreases the flow of the current from the ground node 210 to theoutput node 208. The switching circuit 132 is further described withrespect to FIG. 3-1.

FIG. 3-1 illustrates an example switching circuit 132 for adaptiveswitch driving. In the depicted configuration, the switching circuit 132includes a first switch 134-1 and a second switch 134-2. The firstswitch 134-1 is coupled between the input and the output of theswitching circuit 132 (e.g., between the input node 206 and the outputnode 208). The second switch 134-2 is coupled between the ground node210 and the output node 208. The first switch 134-1 and the secondswitch 134-2 enable the switch-mode power supply 130 of FIG. 2 toimplement a buck converter.

In an example implementation, the switch 134-1 is implemented using ap-type MOSFET 302 and the switch 134-2 is implemented using an n-typeMOSFET 304. A gate terminal of the switch 134-1 is coupled to the drivercircuit 136, a source terminal of the switch 134-1 is coupled to theinput node 206, and a drain terminal of the switch 134-1 is coupled tothe output node 208. A gate terminal of the switch 134-2 is coupled tothe driver circuit 136, a source terminal of the switch 134-2 is coupledto the ground node 210, and a drain terminal of the switch 134-2 iscoupled to the output node 208.

The driver circuit 136 provides respective driver currents 308-1 and308-2 to the switches 134-1 and 134-2. The driver circuit 136 has avariable strength, which means it can vary magnitudes of the drivercurrents 308-1 and 308-2. For example, the driver circuit 136 caninclude a first set of parallel branches with respective buffers orswitches coupled between a current generator and the gate of the switch134-1. Likewise, the driver circuit 136 can include a second set ofparallel branches with respective buffers or switches coupled betweenthe current generator and the gate of the switch 134-2. The currentgenerator can be internal to the driver circuit 136 or external from thedriver circuit 136. By enabling different quantities of the bufferswithin the parallel branches, the strength of the driver circuit 136 canbe adjusted.

As an example, consider that the driver circuit 136 can selectively havea first strength associated with a reliability mode 312-1 or a secondstrength associated with an efficiency mode 312-2. In this case, thefirst strength is less than the second strength in order to increase thetransition period and improve reliability by decreasing the peak of theinput voltage 212. In contrast, the second strength is greater than thefirst strength to decrease the transition period and increase efficiencyat the expense of increasing the peak of the input voltage 212.

Although not shown, the gates of the switches 134-1 and 134-2 can alsobe coupled to a voltage generator, which can be included as part of thedriver circuit 136 or as part of the power transfer circuit 128. Thevoltage generator provides a bias voltage at the gates of the switches134-1 and 134-2 to enable the switches 134-1 and 134-2 to operate in theopen state or the closed state.

The driver controller 138 generates a control signal 310, which adjuststhe strength or operational mode of the driver circuit 136. Using thecontrol signal 310, the driver controller 138 controls the magnitude ofthe driver currents 308-1 and 308-2. In this way, the driver controller138 controls the transition periods of the switches 134-1 and 134-2. Asdescribed above, the driver controller 138 adjusts the driver currents308-1 and 308-2 based on information regarding the input current 214 andthe DC supply voltage 228.

The control signal 310 can be a binary signal that indicates whether ornot the driver circuit 136 operates at according to the reliability mode312-1 or the efficiency mode 312-2. In other situations, the controlsignal 310 can include multiple bits to specify the quantity of buffersthat are enabled within the driver circuit 136, which affects themagnitude of the driver currents 308-1 and 308-2.

In some cases, the driver controller 138 can cause the driver circuit136 to have a same strength to open and close the switch 134-1 or 134-2.In other implementations, the driver controller 138 can cause the drivercircuit 136 to operate at different strengths to open and close theswitch 134-1 or 134-2. For example, the driver circuit 136's strengthcan be decreased to enable the switch 134-1 to safely transition fromthe closed state to the open state and the driver circuit 136's strengthcan be increased to enable the switch 134 to efficiently transition fromthe open state to the closed state. The driver controller 138 caninclude a variety of different types of monitoring circuits, as furtherdescribed with respect to FIG. 4. The driver controller 138 can causethe switching circuit 132 to selectively be in one of a variety ofdifferent states, which are further described with respect to FIG. 3-2.

FIG. 3-2 illustrates example states of the switching circuit 132 foradaptive switch driving. In particular, the switching circuit 132 canselectively be in a first state 314-1, a second state 314-2, a thirdstate 314-3, or a fourth state 314-4 (shown in FIG. 3-4). In the firststate 314-1, the switch 134-1 is in a closed state and the switch 134-2is in an open state. As such, the switching circuit 132 connects theinput node 206 to the output node 208 using the switch 134-1 anddisconnects the output node 208 from the ground node 210 using theswitch 134-2.

In the second state 314-2, the switch 134-1 is in the open state and theswitch 134-2 is in the closed state. As such, the switching circuit 132disconnects the input node 206 from the output node 208 using the switch134-1 and connects the output node 208 to the ground node 210 using theswitch 134-2.

In the third state 314-3, the switching circuit 132 is in the process oftransitioning from the first state 314-1 to the second state 314-2. Inparticular, the switch 134-1 is transitioning from the closed state tothe open state, and the switch 134-2 is transitioning from the openstate to the closed state. As such, the switching circuit 132 partiallyconnects the input node 206 to the output node 208 using the switch134-1 and partially connects the ground node 210 to the output node 208using the switch 134-2. Although not illustrated in FIG. 3-2, theswitching circuit 132 can also selectively be in a fourth state, whichis further described with respect to FIG. 3-4.

A graph 316 illustrates the impact of the different states 314-1 to314-3 of the switching circuit 132 on the output voltage 216. Duringtime interval T1, the first state 314-1 causes the output voltage 216 tobe approximately equal to the input voltage 212. During time intervalT2, the third state 314-3 causes the output voltage 216 to decrease froman amount that is approximately equal to the input voltage 212 toanother amount that is approximately equal to the ground voltage 222.The rate at which the output voltage 216 changes is referred to as aslew rate 318. The slew rate 318 is equal to a ratio of a differencebetween the input voltage 212 and the ground voltage 222 and a durationof the time interval T2. The time interval T2 represents a transitionperiod 320 of the switching circuit 132. During time interval T3, thesecond state 314-2 causes the output voltage 216 to be approximatelyequal to the ground voltage 222. The slew rate 318 and the transitionperiod 320 can vary depending on the operational mode of the drivercircuit 136, as further described with respect to FIG. 3-3.

FIG. 3-3 illustrates examples graphs 322 and 324, which show changes inthe output voltage 216 of the switching circuit 132 for different modesassociated with adaptive switch driving. The graphs 322 and 324illustrate changes in the output voltage 216 over time in accordancewith the reliability mode 312-1 and the efficiency mode 312-2,respectively. The graphs 322 and 324 are similar to the graph 316 ofFIG. 3-2. In particular, the switching circuit 132 operates in a firststate 314-1 during the time interval T1, operates in a third state 314-3during the time interval T2, and operates in a second state 314-2 duringthe time interval T3.

The reliability mode 312-1 and the efficiency mode 312-2 differ in termsof transition periods 320-1 and 320-2 and slew rates 318-1 and 318-2observed during the time interval T2 while the switching circuit 132 isin the third state 314-3. For example, the reliability mode 312-1 has alonger transition period 320-1 than the transition period 320-2 of theefficiency mode 312-2. As a result, an absolute value of the slew rate318-1 is smaller than an absolute value of the slew rate 318-2. Thiscauses the slope of the output voltage 216 to be less steep during thereliability mode 312-1 and steeper during the efficiency mode 312-2.

By having a longer transition period 320-1 and a smaller slew rate318-1, the reliability mode 312-1 can improve reliability of theswitching circuit 132 by reducing voltage peaks caused by the thirdstate 314-3. In contrast, the efficiency mode 312-2 improves anefficiency of the switching circuit 132 relative to the reliability mode312-1 by having a shorter transition period 320-2 and a larger slew rate318-2, which enables a faster transition from the first state 314-1 tothe second state 314-2 relative to the reliability mode 312-1. A drivercontroller 138 controls whether the switching circuit 132 operates inthe reliability mode 312-1 or the efficiency mode 312-2, as furtherdescribed with respect to FIGS. 4 to 5-4.

FIG. 3-4 illustrates an example fourth state 314-4 of the switchingcircuit 132 for adaptive switch driving. In the fourth state, theswitching circuit 132 is in the process of transitioning from the secondstate 314-2 to the first state 314-1. In particular, the switch 134-1 istransitioning from the open state to the closed state, and the switch134-2 is transitioning from the closed state to the open state. As such,the switching circuit 132 partially connects the input node 206 to theoutput node 208 using the switch 134-1 and partially connects the groundnode 210 to the output node 208 using the switch 134-2.

A graph 326 illustrates the impact of the different states 314-1, 314-2,and 314-4 of the switching circuit 132 on the output voltage 216. Duringtime interval T3, the second state 314-2 causes the output voltage 216to be approximately equal to the ground voltage 222. The time intervalT3 of FIG. 3-4 can represent the time interval T3 of in FIG. 3-2.

During time interval T4, the fourth state 314-4 causes the outputvoltage 216 to increase from an amount that is approximately equal tothe ground voltage 222 to another amount that is approximately equal tothe input voltage 212. The rate at which the output voltage 216 changesis referred to as a slew rate 328. The slew rate 328 is equal to a ratioof a difference between the input voltage 212 and the ground voltage 222and a duration of the time interval T4. The time interval T4 representsa transition period 330 of the switching circuit 132. During timeinterval T5, the first state 314-1 causes the output voltage 216 to beapproximately equal to the input voltage 212.

In some implementations, a magnitude of the slew rate 328 of FIG. 3-4can be similar to a magnitude of the slew rate 318 of FIG. 3-2. In otherimplementations, a magnitude of the slew rate 328 of FIG. 3-4 can differfrom a magnitude of the slew rate 318 of FIG. 3-2. Likewise, thetransition period 330 of FIG. 3-4 can be similar to or different thanthe transition period 320 of FIG. 3-2.

FIG. 4 illustrates an example driver controller 138 for adaptive switchdriving. In the depicted example, the driver controller 138 can includeat least one voltage monitor circuit 402 and/or at least one currentmonitor circuit 404. The voltage monitor circuit 402 indirectly ordirectly determines information regarding the DC supply voltage 228(e.g., indirectly or directly measures the DC supply voltage 228). Incontrast, the current monitor circuit 404 indirectly or directlydetermines information regarding the input current 214 (e.g., indirectlyor directly measures the input current 214).

The voltage monitor circuit 402 can include at least one a supplyvoltage sensor 406 and/or at least one power-source-type indicator 408.The supply voltage sensor 406 directly measures the DC supply voltage228. The power-source-type indicator 408 provides an indicationregarding the type of power source 124 that supplies the DC supplyvoltage 228 to the switch-mode power supply 130. This can include ageneric classification of whether the power source 124 is external fromthe computing device 102 (e.g., a universal serial bus (USB) charger, anexternal solar panel, an external battery bank) or internal to thecomputing device 102 (e.g., an internal battery).

In some cases, the power-source-type indicator 408 can further specifythe type of power source 124 that is coupled to the switch-mode powersupply 130. In general, different types of power sources 124 can providedifferent DC supply voltages 228 or different input current 214.Therefore, the driver controller 138 can assume a particular amount orrange of the DC supply voltage 228 or the input current 214 based on thetype of power source 124 identified by the power-source-type indicator408. For example, the driver controller 138 can indirectly determinethat the DC supply voltage 228 is greater than approximately four voltsresponsive to the power-source-type indicator 408 indicating that thepower source 124 comprises the USB charger. In some cases, thepower-source-type indicator 408 obtains information about the powersource 124 from the power transfer circuit 128.

The current monitor circuit 404 can include at least one direct inputcurrent sensor 410, at least one mode indicator 412, at least onezero-crossing comparator 414, or some combination thereof. The directinput current sensor 410 directly measures the input current 214. Themode indicator 412 indirectly determines information regarding the inputcurrent 214 based on an operating mode of the switch-mode power supply130. As an example, the operating mode can be a pulse-width modulationmode or a skip mode. In the pulse-width modulation mode, the switchingcircuit 132 cycles between the first state 314-1 and the second state314-2 according to a duty cycle, which can be varied to regulate theoutput voltage 216. In the skip mode, the switching circuit 132 remainsin the second state 314-2 and does not transition to the first state314-1 during one or more cycles. The zero-crossing comparator 414analyzes zero-crossings of the output current 218 to estimate amagnitude of the input current 214. Example implementations of thedriver controller 138 are further described with respect to FIGS. 5-1 to5-4.

FIG. 5-1 illustrates a first example implementation of the drivercontroller 138 for adaptive switch driving. In the depictedconfiguration, the driver controller 138 includes the DC supply voltagesensor 406, the input current sensor 410, a logic circuit 502, and anoutput node 504. The DC supply voltage sensor 406 is coupled between thepower node 226 (of FIG. 2) and the logic circuit 502. The input currentsensor 410 is coupled between the input node 206 and the logic circuit502. The logic circuit 502 is coupled to an output of the DC supplyvoltage sensor 406, an output of the input current sensor 410, and theoutput node 504. The logic circuit 502 can be implemented using one ormore logic gates, such as an AND gate, an OR gate, a NAND gate, or a NORgate. In the depicted configuration, the logic circuit 502 isimplemented using an AND gate. The output node 504 is coupled to thedriver circuit 136 of FIG. 1.

The DC supply voltage sensor 406 includes a voltage sensor 506, athreshold voltage 508, and a comparator 510. The voltage sensor 506 iscoupled between the power node 226 and an input of the comparator 510.The threshold voltage 508 is provided to another input of the comparator510 and can be generated by the power transfer circuit 128. As anexample, the threshold voltage 508 can be approximately equal to fourvolts.

The input current sensor 410 includes a current sensor 512, a referencecurrent 514, and a comparator 516. The current sensor 512 is coupledbetween the input node 206 and an input of the comparator 516. Thereference current 514 is provided to another input of the comparator 510and can be generated by the power transfer circuit 128. As an example,the reference current can be approximately equal to one ampere.

During operation, the DC supply voltage sensor 406 senses the DC supplyvoltage 228 at the power node 226 and compares the DC supply voltage 228to the threshold voltage 508. The comparator 510 generates a firstvoltage to indicate that the DC supply voltage 228 is greater than thethreshold voltage 508 or generates a second voltage to indicate that theDC supply voltage 228 is less than or equal to the threshold voltage508. The input current sensor 410 senses the input current 214 at theinput node 206 and compares the measured input current 214 to thethreshold current 514. The comparator 516 generates the first voltage toindicate that the input current 214 is greater than the thresholdcurrent 514 or generates the second voltage to indicate that the inputcurrent 214 is less than or equal to the threshold current 514.

The logic circuit 502 generates the control signal 310 (of FIG. 3-1)based on the voltages provided by the DC supply voltage sensor 406 andthe input current sensor 410. In this example, the logic circuit 502generates the control signal 310 to decrease the strength of the drivercircuit 136 (e.g., cause the driver circuit 136 to operate according tothe reliability mode 312-1) responsive to the DC supply voltage 228being greater than the threshold voltage 508 and the input current 214being greater than the threshold current. Alternatively, the logiccircuit 502 generates the control signal 310 to increase the strength ofthe driver circuit 136 (e.g., cause the driver circuit 136 to operateaccording to the efficiency mode 312-2) responsive to either the DCsupply voltage 228 being less than or equal to the threshold voltage 508or the input current 214 being less than or equal to the thresholdcurrent 514.

In this example implementation, the driver controller 138 has directmeasurements regarding the DC supply voltage 228 and the input current214. As such, the driver controller 138 can perform additional steps tospecify an optimal amount of the driver current 308-1 to limit the peakof the input voltage 212 below the breakdown voltage of the switch 134-1according to Equation 2. While this can be advantageous to enable finercontrol of the driver current 308-1, this implementation can be moreexpensive and have a larger footprint. In an alternativeimplementations, cost, size, and/or complexity can be reduced byreplacing the input current sensor 410 with the mode indicator 412(shown in FIG. 5-2), the zero-crossing comparator 414 (shown in FIG.5-3), or the power-source-type indicator 408 (shown in FIG. 5-4).

FIG. 5-2 illustrates a second example implementation of the drivercontroller 138 for adaptive switch driving. In the depictedconfiguration, the driver controller 138 includes the DC supply voltagesensor 406 (of FIG. 5-1) and the logic circuit 502 (of FIG. 5-1).Instead of the input current sensor 410 of FIG. 5-1, the drivercontroller 138 of FIG. 5-2 includes the mode indicator 412 (of FIG. 4).

The mode indicator 412 is coupled to the logic circuit 502. The modeindicator 412 provides a mode signal 518 to the logic circuit 502. Themode signal 518 indicates whether the switch-mode power supply 130entered the pulse-width modulation mode (e.g., transitioned from theskip mode to the pulse-width modulation mode). Generally, thistransition happens if the input current 214 exceeds a threshold current,which can be between approximately 600 and 900 milliamperes. In thisway, the mode signal 518 provides an indirect estimate of the inputcurrent 214. In some cases, the mode signal 518 is generated by othercomponents within the power transfer circuit 128 and the mode indicator412 passes the mode signal 518 (with or without modification) to thelogic circuit 502.

During operation, the logic circuit 502 generates the control signal 310(of FIG. 3-1) based on the voltage provided by the DC supply voltagesensor 406 and the mode signal 518 provided by the mode indicator 412.In this example, the logic circuit 502 generates the control signal 310to decrease the strength of the driver circuit 136 (e.g., cause thedriver circuit 136 to operate according to the reliability mode 312-1)responsive to the DC supply voltage 228 being greater than the thresholdvoltage 508 and the mode signal 518 indicating that that the switch-modepower supply 130 entered the pulse-width modulation mode. Alternatively,the logic circuit 502 generates the control signal 310 to increase thestrength of the driver circuit 136 (e.g., cause the driver circuit 136to operate according to the efficiency mode 312-2) responsive to eitherthe DC supply voltage 228 being less than or equal to the thresholdvoltage 508 or the mode signal 518 indicating that the switch-mode powersupply 130 has not transitioned from the skip mode to the pulse-widthmodulation mode.

FIG. 5-3 illustrates a third example implementation of the drivercontroller 138 for adaptive switch driving. In the depictedconfiguration, the driver controller 138 includes the DC supply voltagesensor 406 (of FIG. 5-1) and the logic circuit 502 (of FIG. 5-1).Instead of the input current sensor 410 of FIG. 5-1 or the modeindicator 412 of FIG. 5-2, the driver controller 138 of FIG. 5-3includes the zero-crossing comparator 414 (of FIG. 4). In someimplementations, the zero-crossing comparator 414 is already implementedas part of the switch-mode power supply 130.

The zero-crossing comparator 414 is coupled to the logic circuit 502 andthe output node 208. The zero-crossing comparator 414 includes a currentsensor 520, a ground reference 522, and a comparator 524. The currentsensor 520 measures the output current 218 at the output node 208. Thecomparator 524 determines instances at which the output current 218crosses zero (e.g., crosses the ground reference 522). At theseinstances, the zero-crossing comparator 414 can indirectly determine theinput current 214. For example, the zero-crossing comparator 414 canindicate that the input current 214 is estimated to be less than orequal to a particular threshold amount.

During operation, the logic circuit 502 generates the control signal 310(of FIG. 3-1) based on the voltages provided by the DC supply voltagesensor 406 and the zero-crossing comparator 414. In this example, thelogic circuit 502 generates the control signal 310 to decrease thestrength of the driver circuit 136 (e.g., cause the driver circuit 136to operate according to the reliability mode 312-1) responsive to the DCsupply voltage 228 being greater than the threshold voltage 508 and theestimated input current 214 being greater than the threshold amount.Alternatively, the logic circuit 502 generates the control signal 310 toincrease the strength of the driver circuit 136 (e.g., cause the drivercircuit 136 to operate according to the efficiency mode 312-2)responsive to either the DC supply voltage 228 being less than or equalto the threshold voltage 508 or the estimated input current 214 beingless than or equal to the threshold amount.

FIG. 5-4 illustrates a fourth example implementation of the drivercontroller 138 for adaptive switch driving. In the depictedconfiguration, the driver controller 138 includes the DC supply voltagesensor 406 (of FIG. 5-1) and the logic circuit 502 (of FIG. 5-1).Instead of the input current sensor 410 of FIG. 5-1, the mode indicator412 of FIG. 5-2, or the zero-crossing comparator 414 of FIG. 5-3, thedriver controller 138 of FIG. 5-4 includes the power-source-typeindicator 408 (of FIG. 4).

The power-source-type indicator 408 is coupled to the logic circuit 502.The power-source-type indicator 408 provides a power-source-type signal526 to the logic circuit 502. The power-source-type signal 526 indicatesa type or classification associated with the power source 124. In somecases, the power-source-type signal 526 is generated by other componentswithin the power transfer circuit 128 or the computing device 102, andthe power-source-type indicator 408 passes the power-source-type signal526 to the logic circuit 502.

During operation, the logic circuit 502 generates the control signal 310(of FIG. 3-1) based on the voltage provided by the DC supply voltagesensor 406 and the power-source-type signal 526 provided by thepower-source-type indicator 408. In this example, the logic circuit 502generates the control signal 310 to decrease the strength of the drivercircuit 136 (e.g., cause the driver circuit 136 to operate according tothe reliability mode 312-1) responsive to the DC supply voltage 228being greater than the threshold voltage 508 and the power-source-typesignal 526 indicating that that the power source 124 is associated witha type of power source 124 that is external from the computing device102, such as the USB charger. Alternatively, the logic circuit 502generates the control signal 310 to increase the strength of the drivercircuit 136 (e.g., cause the driver circuit 136 to operate according tothe efficiency mode 312-2) responsive to either the DC supply voltage228 being less than or equal to the threshold voltage 508 or thepower-source-type signal 526 indicating that the power source 124 isinternal to the computing device 102, such as a battery of the computingdevice 102.

FIG. 6 is a flow diagram illustrating an example process 600 foradaptive switch driving. The process 600 is described in the form of aset of blocks 602-610 that specify operations that can be performed.However, operations are not necessarily limited to the order shown inFIG. 6 or described herein, for the operations may be implemented inalternative orders or in fully or partially overlapping manners. Also,more, fewer, and/or different operations may be implemented to performthe process 600, or an alternative process. Operations represented bythe illustrated blocks of the process 600 may be performed by aswitch-mode power supply 130 (e.g., of FIG. 1 or 2). More specifically,the operations of the process 600 may be performed by a switchingcircuit 132 as shown in FIGS. 1 to 3-1.

At block 602, an input voltage and an input current are accepted at aninput of a switching circuit. The input voltage comprises adirect-current supply voltage. For example, the switching circuit 132can accept the input voltage 212 and the input current 214 at the inputof thereof (e.g., at the input node 206), as shown in FIG. 2. The inputvoltage 212 can be a direct-current supply voltage. Thus, the powersource 124 may provide the input voltage 212 and the input current 214to the input node 206 of the switching circuit 132.

At block 604, the switching circuit operates in a first state to providethe input voltage as an output voltage at an output of the switchingcircuit. For example, the switching circuit 132 can operate in the firststate 314-1 to provide the input voltage 212 as the output voltage 216at the output of the switch circuit 132 (e.g., the output node 208), asshown in FIG. 3-2. The first state 314-1 may cause the switch 134-1 tobe in a closed state, which connects the input node 206 to the outputnode 208.

At block 606, the switching circuit operates in a second state toprovide a ground voltage as the output voltage at the output. Forexample, the switching circuit 132 can operate in the second state 314-2to provide the ground voltage 222 as the output voltage 216 at theoutput of the switching circuit (e.g., at the output node 208), as shownin FIG. 3-2. The second state 314-2 may cause the switch 134-1 to be inan open state, which disconnects the input node 206 from the output node208.

At block 608, the switching circuit operates in a third state totransition from the first state to the second state. The third statecauses the output voltage to change from the input voltage to the groundvoltage according to a slew rate. For example, the switching circuit 132can operate in the third state 314-3 to transition from the first state314-1 to the second state 314-2, as shown in FIG. 3-2. The third state314-3 may cause the switch 134-1 to transition from the closed state tothe open state. A duration that the switching circuit 132 operates inthe third state 314-3 is referred to as the transition period 320. Thethird state 314-3 can cause the output voltage 216 to change from theinput voltage 212 to the ground voltage 222 according to the slew rate318.

The switching circuit can also operate in a fourth state 314-4 totransition from the second state 314-2 to the first state 314-1. Thefourth state 314-4 causes the output voltage 216 to change from theground voltage 222 to the input voltage 212. The fourth state 314-4 maycause the switch 134-1 to transition from the open state to the closedstate.

At block 610, the slew rate of the output voltage is adjusted responsiveto at least one of the following: a change in a magnitude of thedirect-current supply voltage or a change in a magnitude of the inputcurrent. For example, the switching circuit 132 can adjust the slew rateof the output voltage 216 responsive to a change in a magnitude of thedirect-current supply voltage 228 (of FIG. 2) or a change in a magnitudeof the input current 214 (of FIG. 2). In particular, the switchingcircuit 132 may decrease the slew rate 318 (e.g., increase thetransition period 320) according to the reliability mode 312-1 orincrease the slew rate 318 (e.g., decrease the transition period 320)according to the efficiency mode 312-2, as shown in FIG. 3-2.

As an example, the switching circuit 132 can operate according to thereliability mode 312-1 responsive to detecting an increase in thedirect-current supply voltage 228 or an increase in the input current214. In this mode, the driver circuit 136 decreases the slew rate 318 toimprove reliability by decreasing the peak of the input voltage 212.Alternatively, the switching circuit 132 can operate according to theefficiency mode 312-2 responsive to detecting a decrease in themagnitude of the direct-current supply voltage 228 or a decrease in themagnitude of the input current 214. In this mode, the driver circuit 136increases the slew rate 318 to increase efficiency of the switchingcircuit 132 at the expense of increasing the peak of the input voltage212. Through adaptive switch driving, the switching circuit 132 is ableto appropriately configure itself to balance reliability versusefficiency in different operating conditions.

Unless context dictates otherwise, use herein of the word “or” may beconsidered use of an “inclusive or,” or a term that permits inclusion orapplication of one or more items that are linked by the word “or” (e.g.,a phrase “A or B” may be interpreted as permitting just “A,” aspermitting just “B,” or as permitting both “A” and “B”). Further, itemsrepresented in the accompanying figures and terms discussed herein maybe indicative of one or more items or terms, and thus reference may bemade interchangeably to single or plural forms of the items and terms inthis written description. Finally, although subject matter has beendescribed in language specific to structural features or methodologicaloperations, it is to be understood that the subject matter defined inthe appended claims is not necessarily limited to the specific featuresor operations described above, including not necessarily being limitedto the organizations in which features are arranged or the orders inwhich operations are performed.

Some aspects are described below:

Aspect 1: An apparatus comprising:

-   -   a switching circuit comprising:        -   an input configured to accept an input voltage and an input            current,    -   the input voltage comprising a direct-current supply voltage;        and        -   an output configured to provide an output voltage;    -   the switching circuit configured to selectively:        -   be in a first state that provides the input voltage as the            output voltage,        -   be in a second state that provides a ground voltage as the            output voltage, or        -   be in a third state that causes the output voltage to change            from the input voltage to the ground voltage according to a            slew rate, the third state enabling the switching circuit to            transition from the first state to the second state; and    -   the switching circuit configured to adjust the slew rate of the        output voltage for the third state responsive to at least one of        the following: a change in a magnitude of the direct-current        supply voltage or a change in a magnitude of the input current.

Aspect 2: The apparatus of aspect 1, wherein:

-   -   the switching circuit is configured to transition between the        first state and the second state according to a transition        period;    -   the slew rate of the output voltage is dependent upon the        transition period; and    -   the switching circuit is configured to adjust the transition        period responsive to at least one of the change in the magnitude        of the direct-current supply voltage or the change in the        magnitude of the input current.

Aspect 3: The apparatus of aspect 1 or 2, wherein the switching circuitis configured to:

-   -   decrease the slew rate responsive to at least one of an increase        in the magnitude of the direct-current supply voltage or an        increase in the magnitude of the input current; and    -   increase the slew rate responsive to at least one of a decrease        in the magnitude of the direct-current supply voltage or a        decrease in the magnitude of the input current.

Aspect 4: The apparatus of aspect 3, wherein:

-   -   the switching circuit comprises a switch coupled between the        input and the output; and    -   the switching circuit is configured to cause a peak of the input        voltage at the input to be less than a breakdown voltage of the        switch by decreasing the slew rate of the output voltage.

Aspect 5: The apparatus of aspect 3 or 4, wherein the switching circuitis configured to:

-   -   operate at a first efficiency responsive to decreasing the slew        rate of the output voltage; and    -   operate at a second efficiency responsive to increasing the slew        rate of the output voltage, the second efficiency being greater        than the first efficiency.

Aspect 6: The apparatus of any previous aspect, further comprising:

-   -   a switch-mode power supply configured to be coupled between a        power source and a load, the switch-mode power supply        comprising:        -   the switching circuit; and        -   at least one inductor coupled between the output of the            switching circuit and the load,    -   wherein the input of the switching circuit is configured to be        coupled to the power source.

Aspect 7: The apparatus of aspect 6, wherein:

-   -   the load comprises at least one battery; and    -   the switch-mode power supply is configured to transfer power        from the power source to the at least one battery.

Aspect 8: The apparatus of aspects 1-3, 6, or 7, wherein the switchingcircuit comprises:

-   -   a first switch coupled between the input and the output, the        first switch configured to selectively:        -   be in a closed state according to the first state to connect            the input to the output; or        -   be in an open state according to the second state to            disconnect the input from the output; and    -   a second switch coupled between the output and a ground, the        second switch configured to selectively:        -   be in the open state according to the first state to            disconnect the ground from the output; or        -   be in the closed state according to the second state to            connect the ground to the output.

Aspect 9: The apparatus of aspect 8, wherein the switching circuitcomprises:

-   -   at least one driver circuit coupled to the first switch and the        second switch, the at least one driver circuit configured to:        -   provide a first driver current to the first switch to enable            the first switch to transition from the closed state to the            open state; and        -   provide a second driver current to the second switch to            enable the second switch to transition from the open state            to the closed state; and    -   at least one driver controller coupled to the at least one        driver circuit, the at least one driver controller configured        to:        -   detect at least one of the change in the magnitude of the            direct-current supply voltage or the change in the magnitude            of the input current; and        -   adjust a magnitude of the first driver current and a            magnitude of the second driver current based on the detected            change to adjust the slew rate of the output voltage.

Aspect 10: An apparatus comprising:

-   -   switch-mode means for transferring power between a power source        and a load, the switch-mode means comprising:        -   switching means for selectively operating in a closed state            to connect the power source to the load or an open state to            disconnect the power source from the load;        -   driver means for controlling a transition period associated            with the switching means transitioning from the closed state            to the open state;        -   monitor means for detecting a change in a magnitude of an            input current or a change in a magnitude of a direct-current            supply voltage provided by the power source; and        -   control means for adjusting the transition period responsive            to the monitor means detecting the change in the magnitude            of the input current or the change in the magnitude of the            direct-current supply voltage.

Aspect 11: The apparatus of aspect 10, wherein the controls means isconfigured to:

-   -   increase the transition period responsive to the monitor means        detecting at least one of an increase in the magnitude of the        direct-current supply voltage or an increase in the magnitude of        the input current; and    -   decrease the transition period responsive to the monitor means        detecting at least one of a decrease in the magnitude of the        direct-current supply voltage or a decrease in the magnitude of        the input current.

Aspect 12: The apparatus of aspect 10 or 11, wherein:

-   -   the control means is configured to cause a peak of an input        voltage at an input of the switching means to be less than a        breakdown voltage of the switching means by increasing the        transition period.

Aspect 13: The apparatus of any one of aspects 10-12, wherein theswitching means is configured to:

-   -   operate at a first efficiency responsive to the control means        increasing the transition period; and    -   operate at a second efficiency responsive to the control means        decreasing the transition period, the second efficiency being        greater than the first efficiency.

Aspect 14: A method comprising:

-   -   accepting an input voltage and an input current at an input of a        switching circuit, the input voltage comprising a direct-current        supply voltage;    -   operating the switching circuit in a first state to provide the        input voltage as an output voltage at an output of the switching        circuit;    -   operating the switching circuit in a second state to provide a        ground voltage as the output voltage at the output;    -   operating the switching circuit in a third state to transition        from the first state to the second state, the third state        causing the output voltage to change from the input voltage to        the ground voltage according to a slew rate; and    -   adjusting the slew rate of the output voltage responsive to at        least one of the following: a change in a magnitude of the        direct-current supply voltage or a change in a magnitude of the        input current.

Aspect 15: The method of aspect 14, wherein the adjusting of the slewrate comprises:

-   -   decreasing the slew rate responsive to at least one of an        increase in the magnitude of the direct-current supply voltage        or an increase in the magnitude of the input current; and    -   increasing the slew rate responsive to at least one of a        decrease in the magnitude of the direct-current supply voltage        or a decrease in the magnitude of the input current.

Aspect 16: The method of aspect 15, wherein the decreasing of the slewrate comprises causing a peak of the input voltage at the input to beless than a breakdown voltage associated with the switching circuit.

Aspect 17: The method of aspect 15 or 16, wherein:

-   -   the decreasing of the slew rate comprises operating the        switching circuit at a first efficiency; and    -   the increasing of the slew rate comprises operating the        switching circuit at a second efficiency, the second efficiency        being greater than the first efficiency.

Aspect 18: An apparatus comprising:

-   -   a switching circuit comprising:        -   an input configured to accept an input voltage;        -   at least one switch coupled between the input of the            switching circuit and an output of the switching circuit,            the at least one switch configured to selectively:            -   be in a closed state to connect the input to the output;                or            -   be in an open state to disconnect the input from the                output;        -   at least one driver circuit coupled to the at least one            switch, the at least one driver circuit configured to            provide a driver current to enable the at least one switch            to transition from the closed state to the open state; and        -   at least one driver controller coupled to the at least one            driver circuit, the at least one driver controller            configured to:            -   monitor at least one parameter associated with the input                voltage;            -   detect a change in the at least one parameter; and            -   adjust a magnitude of the driver current provided by the                at least one driver circuit based on the detected change                in the at least one parameter.

Aspect 19: The apparatus of aspect 18, wherein a transition period ofthe at least one switch is dependent upon the magnitude of the drivercurrent.

Aspect 20: The apparatus of aspect 18 or 19, wherein:

-   -   the at least one parameter is configured to selectively have a        first magnitude or a second magnitude that is smaller than the        first magnitude;    -   the at least one driver circuit is configured to selectively:        -   provide a first driver current as the driver current; or    -   provide a second driver current as the driver current, the        second driver current being smaller than the first driver        current; and    -   the at least one driver controller is configured to selectively:        -   cause the at least one driver circuit to provide the second            driver current responsive to the at least one parameter            having the first magnitude; or        -   cause the at least one driver circuit to provide the first            driver current responsive to the at least one parameter            having the second magnitude.

Aspect 21: The apparatus of aspect 20, wherein:

-   -   the input is configured to accept an input current;    -   the input voltage comprises a direct-current supply voltage; and    -   the at least one parameter includes the input current and the        direct-current supply voltage.

Aspect 22: The apparatus of aspect 21, wherein the driver controllercomprises at least one of the following:

-   -   a voltage monitor circuit configured to measure the        direct-current supply voltage indirectly or directly; and    -   a current monitor circuit configured to measure the input        current indirectly or directly.

Aspect 23: The apparatus of aspect 22, wherein the voltage monitorcircuit comprises a direct-current supply voltage sensor.

Aspect 24: The apparatus of aspect 22 or 23, wherein the voltage monitorcircuit comprises a power-source-type indicator.

Aspect 25: The apparatus of any one of aspects 22-24, wherein thecurrent monitor circuit comprises an input current sensor.

Aspect 26: The apparatus of any one of aspects 22-25, wherein thecurrent monitor circuit comprises a mode indicator.

Aspect 27: The apparatus of any one of aspects 22-26, wherein thecurrent monitor circuit comprises a zero-crossing comparator.

Aspect 28: The apparatus of any one of aspects 18-26, wherein the atleast one driver controller is configured to:

-   -   detect an increase in a magnitude of the at least one parameter;        and    -   responsive to the detection, cause the at least one driver        circuit to decrease the driver current.

Aspect 29: The apparatus of aspect 28, wherein the at least one drivercontroller is configured to decrease the driver current by an amountthat enables a peak of the input voltage to be less than a breakdownvoltage of the at least one switch.

Aspect 30: The apparatus of any one of aspects 18-29, wherein the atleast one driver controller is configured to:

-   -   detect a decrease in the magnitude of at least one parameter;        and    -   responsive to the detection, cause the at least one driver        circuit to increase the driver current.

Aspect 31: The apparatus of aspect 30, wherein the at least one drivercontroller is configured to increase an efficiency of the at least oneswitch by increasing the driver current.

Aspect 32: The apparatus of any one of aspects 18-31, further comprisinga switch-mode power supply, wherein:

-   -   the switch-mode power supply comprises the switching circuit;    -   the at least one parameter comprises a mode signal, the mode        signal indicating an operational mode of the switch-mode power        supply; and    -   the at least one driver controller is configured to cause the at        least one driver circuit to decrease the driver current        responsive to the mode signal changing from indicating a skip        mode to indicating a pulse-width modulation mode.

Aspect 33: The apparatus of claim any one of aspects 18-32, furthercomprising an internal power source, wherein:

-   -   the apparatus is configured to selectively utilize power from an        external power source or the internal power source;    -   the at least one parameter comprises a power-source-type signal,        the power-source-type signal indicating whether the apparatus        utilizes power from the external power source or the internal        power source; and    -   the at least one driver controller is configured to cause the at        least one driver circuit to selectively:        -   decrease the driver current responsive to the            power-source-type signal changing from indicating that the            apparatus is utilizing the power from the internal power            source to indicating that the apparatus is utilizing the            power from the external power source; or        -   increase the driver current responsive to the            power-source-type signal changing from indicating that the            apparatus is utilizing the power from the external power            source to indicating that the apparatus is utilizing the            power from the internal power source.

What is claimed is:
 1. An apparatus comprising: a switching circuitcomprising: an input configured to accept an input voltage and an inputcurrent, the input voltage comprising a direct-current supply voltage;and an output configured to provide an output voltage; the switchingcircuit configured to selectively: be in a first state that provides theinput voltage as the output voltage, be in a second state that providesa ground voltage as the output voltage, or be in a third state thatcauses the output voltage to change from the input voltage to the groundvoltage according to a slew rate, the third state enabling the switchingcircuit to transition from the first state to the second state; and theswitching circuit configured to adjust the slew rate of the outputvoltage for the third state responsive to at least one of the following:a change in a magnitude of the direct-current supply voltage or a changein a magnitude of the input current.
 2. The apparatus of claim 1,wherein: the switching circuit is configured to transition between thefirst state and the second state according to a transition period; theslew rate of the output voltage is dependent upon the transition period;and the switching circuit is configured to adjust the transition periodresponsive to at least one of the change in the magnitude of thedirect-current supply voltage or the change in the magnitude of theinput current.
 3. The apparatus of claim 1, wherein the switchingcircuit is configured to: decrease the slew rate responsive to at leastone of an increase in the magnitude of the direct-current supply voltageor an increase in the magnitude of the input current; and increase theslew rate responsive to at least one of a decrease in the magnitude ofthe direct-current supply voltage or a decrease in the magnitude of theinput current.
 4. The apparatus of claim 3, wherein: the switchingcircuit comprises a switch coupled between the input and the output; andthe switching circuit is configured to cause a peak of the input voltageat the input to be less than a breakdown voltage of the switch bydecreasing the slew rate of the output voltage.
 5. The apparatus ofclaim 3, wherein the switching circuit is configured to: operate at afirst efficiency responsive to decreasing the slew rate of the outputvoltage; and operate at a second efficiency responsive to increasing theslew rate of the output voltage, the second efficiency being greaterthan the first efficiency.
 6. The apparatus of claim 1, furthercomprising: a switch-mode power supply configured to be coupled betweena power source and a load, the switch-mode power supply comprising: theswitching circuit; and at least one inductor coupled between the outputof the switching circuit and the load, wherein the input of theswitching circuit is configured to be coupled to the power source. 7.The apparatus of claim 6, wherein: the load comprises at least onebattery; and the switch-mode power supply is configured to transferpower from the power source to the at least one battery.
 8. Theapparatus of claim 1, wherein the switching circuit comprises: a firstswitch coupled between the input and the output, the first switchconfigured to selectively: be in a closed state according to the firststate to connect the input to the output; or be in an open stateaccording to the second state to disconnect the input from the output;and a second switch coupled between the output and a ground, the secondswitch configured to selectively: be in the open state according to thefirst state to disconnect the ground from the output; or be in theclosed state according to the second state to connect the ground to theoutput.
 9. The apparatus of claim 8, wherein the switching circuitcomprises: at least one driver circuit coupled to the first switch andthe second switch, the at least one driver circuit configured to:provide a first driver current to the first switch to enable the firstswitch to transition from the closed state to the open state; andprovide a second driver current to the second switch to enable thesecond switch to transition from the open state to the closed state; andat least one driver controller coupled to the at least one drivercircuit, the at least one driver controller configured to: detect atleast one of the change in the magnitude of the direct-current supplyvoltage or the change in the magnitude of the input current; and adjusta magnitude of the first driver current and a magnitude of the seconddriver current based on the detected change to adjust the slew rate ofthe output voltage.
 10. An apparatus comprising: switch-mode means fortransferring power between a power source and a load, the switch-modemeans comprising: switching means for selectively operating in a closedstate to connect the power source to the load or an open state todisconnect the power source from the load; driver means for controllinga transition period associated with the switching means transitioningfrom the closed state to the open state; monitor means for detecting achange in a magnitude of an input current or a change in a magnitude ofa direct-current supply voltage provided by the power source; andcontrol means for adjusting the transition period responsive to themonitor means detecting the change in the magnitude of the input currentor the change in the magnitude of the direct-current supply voltage. 11.The apparatus of claim 10, wherein the controls means is configured to:increase the transition period responsive to the monitor means detectingat least one of an increase in the magnitude of the direct-currentsupply voltage or an increase in the magnitude of the input current; anddecrease the transition period responsive to the monitor means detectingat least one of a decrease in the magnitude of the direct-current supplyvoltage or a decrease in the magnitude of the input current.
 12. Theapparatus of claim 10, wherein: the control means is configured to causea peak of an input voltage at an input of the switching means to be lessthan a breakdown voltage of the switching means by increasing thetransition period.
 13. The apparatus of claim 10, wherein the switchingmeans is configured to: operate at a first efficiency responsive to thecontrol means increasing the transition period; and operate at a secondefficiency responsive to the control means decreasing the transitionperiod, the second efficiency being greater than the first efficiency.14. A method comprising: accepting an input voltage and an input currentat an input of a switching circuit, the input voltage comprising adirect-current supply voltage; operating the switching circuit in afirst state to provide the input voltage as an output voltage at anoutput of the switching circuit; operating the switching circuit in asecond state to provide a ground voltage as the output voltage at theoutput; operating the switching circuit in a third state to transitionfrom the first state to the second state, the third state causing theoutput voltage to change from the input voltage to the ground voltageaccording to a slew rate; and adjusting the slew rate of the outputvoltage responsive to at least one of the following: a change in amagnitude of the direct-current supply voltage or a change in amagnitude of the input current.
 15. The method of claim 14, wherein theadjusting of the slew rate comprises: decreasing the slew rateresponsive to at least one of an increase in the magnitude of thedirect-current supply voltage or an increase in the magnitude of theinput current; and increasing the slew rate responsive to at least oneof a decrease in the magnitude of the direct-current supply voltage or adecrease in the magnitude of the input current.
 16. The method of claim15, wherein the decreasing of the slew rate comprises causing a peak ofthe input voltage at the input to be less than a breakdown voltageassociated with the switching circuit.
 17. The method of claim 15,wherein: the decreasing of the slew rate comprises operating theswitching circuit at a first efficiency; and the increasing of the slewrate comprises operating the switching circuit at a second efficiency,the second efficiency being greater than the first efficiency.
 18. Anapparatus comprising: a switching circuit comprising: an inputconfigured to accept an input voltage; at least one switch coupledbetween the input of the switching circuit and an output of theswitching circuit, the at least one switch configured to selectively: bein a closed state to connect the input to the output; or be in an openstate to disconnect the input from the output; at least one drivercircuit coupled to the at least one switch, the at least one drivercircuit configured to provide a driver current to enable the at leastone switch to transition from the closed state to the open state; and atleast one driver controller coupled to the at least one driver circuit,the at least one driver controller configured to: monitor at least oneparameter associated with the input voltage; detect a change in the atleast one parameter; and adjust a magnitude of the driver currentprovided by the at least one driver circuit based on the detected changein the at least one parameter.
 19. The apparatus of claim 18, wherein atransition period of the at least one switch is dependent upon themagnitude of the driver current.
 20. The apparatus of claim 18, wherein:the at least one parameter is configured to selectively have a firstmagnitude or a second magnitude that is smaller than the firstmagnitude; the at least one driver circuit is configured to selectively:provide a first driver current as the driver current; or provide asecond driver current as the driver current, the second driver currentbeing smaller than the first driver current; and the at least one drivercontroller is configured to selectively: cause the at least one drivercircuit to provide the second driver current responsive to the at leastone parameter having the first magnitude; or cause the at least onedriver circuit to provide the first driver current responsive to the atleast one parameter having the second magnitude.
 21. The apparatus ofclaim 20, wherein: the input is configured to accept an input current;the input voltage comprises a direct-current supply voltage; and the atleast one parameter includes the input current and the direct-currentsupply voltage.
 22. The apparatus of claim 21, wherein the drivercontroller comprises at least one of the following: a voltage monitorcircuit configured to measure the direct-current supply voltageindirectly or directly; and a current monitor circuit configured tomeasure the input current indirectly or directly.
 23. The apparatus ofclaim 22, wherein the voltage monitor circuit comprises at least one ofthe following: a direct-current supply voltage sensor; or apower-source-type indicator.
 24. The apparatus of claim 22, wherein thecurrent monitor circuit comprises at least one of the following: aninput current sensor; a mode indicator; or a zero-crossing comparator.25. The apparatus of claim 18, wherein the at least one drivercontroller is configured to: detect an increase in a magnitude of the atleast one parameter; and responsive to the detection, cause the at leastone driver circuit to decrease the driver current.
 26. The apparatus ofclaim 25, wherein the at least one driver controller is configured todecrease the driver current by an amount that enables a peak of theinput voltage to be less than a breakdown voltage of the at least oneswitch.
 27. The apparatus of claim 18, wherein the at least one drivercontroller is configured to: detect a decrease in the magnitude of atleast one parameter; and responsive to the detection, cause the at leastone driver circuit to increase the driver current.
 28. The apparatus ofclaim 27, wherein the at least one driver controller is configured toincrease an efficiency of the at least one switch by increasing thedriver current.
 29. The apparatus of claim 18, further comprising aswitch-mode power supply, wherein: the switch-mode power supplycomprises the switching circuit; the at least one parameter comprises amode signal, the mode signal indicating an operational mode of theswitch-mode power supply; and the at least one driver controller isconfigured to cause the at least one driver circuit to decrease thedriver current responsive to the mode signal changing from indicating askip mode to indicating a pulse-width modulation mode.
 30. The apparatusof claim 18, further comprising an internal power source, wherein: theapparatus is configured to selectively utilize power from an externalpower source or the internal power source; the at least one parametercomprises a power-source-type signal, the power-source-type signalindicating whether the apparatus utilizes power from the external powersource or the internal power source; and the at least one drivercontroller is configured to cause the at least one driver circuit toselectively: decrease the driver current responsive to thepower-source-type signal changing from indicating that the apparatus isutilizing the power from the internal power source to indicating thatthe apparatus is utilizing the power from the external power source; orincrease the driver current responsive to the power-source-type signalchanging from indicating that the apparatus is utilizing the power fromthe external power source to indicating that the apparatus is utilizingthe power from the internal power source.